pow.ivyclient
Class PowUrl

java.lang.Object
  extended by pow.ivyclient.PowUrl

public class PowUrl
extends java.lang.Object

object which store all information about the url to log on the server

Author:
genin

Constructor Summary
PowUrl(java.lang.String protocol, java.lang.String server, int port, java.lang.String webapp, java.lang.String servletName)
          create all the information requested to connect the ivy module to the server when all parameters are correct can give an url like https://paparazzi.fr/ServletPow/Login.srv
 
Method Summary
 java.lang.String getServerName()
          provides the server name to which the module is connected
 java.lang.String getWebUrl()
          provides the complete URL to log on the POW server
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowUrl

public PowUrl(java.lang.String protocol,
              java.lang.String server,
              int port,
              java.lang.String webapp,
              java.lang.String servletName)
create all the information requested to connect the ivy module to the server when all parameters are correct can give an url like https://paparazzi.fr/ServletPow/Login.srv

Parameters:
protocol - the protocol used to log to the server (HTTP by default)
server - the server name (paparazzi.fr) for example
port - a specific protocol port ( -1 means that this parameter is not used )
webapp - the name of the application on the server (ServletPow for example)
servletName - the name of the login servlet (Login.srv)
Method Detail

getServerName

public java.lang.String getServerName()
provides the server name to which the module is connected

Returns:
server hostname

getWebUrl

public java.lang.String getWebUrl()
provides the complete URL to log on the POW server

Returns:
the complete url to log in as a string